moved util functions in main.go into a seperate file

This commit is contained in:
2021-01-14 22:14:11 +01:00
parent d788822b06
commit 41583afb47
3 changed files with 22 additions and 17 deletions

View File

@ -5,4 +5,4 @@ RBU account system
# api
use `/login?redirect=someurl` to redirect the user after the login is finnished.
Use `api/accountinfo?accountkey=key&password=password` to get information about the user.
accountKey is the value of the cookie with the key "session".
accountkey is the value of the cookie with the key "session".