api endpoints migrated to use auth middleware

This commit is contained in:
realaravinth
2021-05-01 23:39:52 +05:30
parent 191e9658ec
commit a82d61ed27
10 changed files with 102 additions and 52 deletions

View File

@@ -20,8 +20,6 @@ pub mod levels;
pub mod mcaptcha;
pub mod stats;
pub use super::auth::is_authenticated;
pub fn get_random(len: usize) -> String {
use std::iter;