add: user account switcher
This commit is contained in:
parent
48e0b02198
commit
20aae5570b
13 changed files with 172 additions and 34 deletions
|
@ -94,6 +94,7 @@ pub fn routes() -> Router {
|
|||
.route("/auth/register", post(auth::register_request))
|
||||
.route("/auth/login", post(auth::login_request))
|
||||
.route("/auth/logout", post(auth::logout_request))
|
||||
.route("/auth/token", get(auth::set_token_request))
|
||||
.route(
|
||||
"/auth/upload/avatar",
|
||||
post(auth::images::upload_avatar_request),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue