Create login form & handle auth
This commit is contained in:
parent
ba1ced269c
commit
d217d1c14b
6 changed files with 112 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue