diff options
author | fx <[email protected]> | 2023-10-08 23:28:10 +0200 |
---|---|---|
committer | fx <[email protected]> | 2023-10-08 23:28:10 +0200 |
commit | 920496c85bdf0d017eaf837cbacd136d7d828669 (patch) | |
tree | 78e0cd32933d214fd16ad18a333cf7f1ade5a754 /src/auth.rs | |
parent | 88bedad2d7c061b707e83d80aa6f0e51817586df (diff) | |
download | webol-920496c85bdf0d017eaf837cbacd136d7d828669.tar webol-920496c85bdf0d017eaf837cbacd136d7d828669.tar.gz webol-920496c85bdf0d017eaf837cbacd136d7d828669.zip |
base web server
Diffstat (limited to 'src/auth.rs')
-rw-r--r-- | src/auth.rs | 3 |
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 @@ | |||
1 | pub fn auth(secret: &str) -> bool { | ||
2 | secret == "aaa" | ||
3 | } | ||