Create login form & handle auth

This commit is contained in:
William Bouzourène 2024-12-21 18:39:09 +01:00
parent cd783fb546
commit af5528f60c
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
6 changed files with 112 additions and 7 deletions

View file

@ -54,7 +54,7 @@ func FirstAccountCreate() error {
return nil
}
func UserExistsAndIsActive(id int) (bool, error) {
func UserExistsAndIsActive(id uint) (bool, error) {
db, err := GetDatabase()
if err != nil {
return false, err