summaryrefslogtreecommitdiff
path: root/src/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.rs')
-rw-r--r--src/auth.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auth.rs b/src/auth.rs
new file mode 100644
index 0000000..b1ad76d
--- /dev/null
+++ b/src/auth.rs
@@ -0,0 +1,3 @@
1pub fn auth(secret: &str) -> bool {
2 secret == "aaa"
3}