Compare commits

...

3 Commits

Author SHA1 Message Date
Maximilian
308198ee8b Merge branch 'master' into toml_config 2023-09-26 11:32:52 -05:00
Maximilian
d8b1a5c999 Remove unnecessary comparison 2023-09-26 11:32:39 -05:00
Maximilian
0f59a6eba9 Go mod tidy and update x/crypto 2023-09-17 19:23:57 -05:00

View File

@ -47,7 +47,7 @@ func CreateSession(app *app.App, w http.ResponseWriter, userId int64, remember b
}
// If duplicate token found, recursively call function until unique token is generated
if existingAuthToken == true {
if existingAuthToken {
slog.Warn("duplicate token found in sessions table, generating new token...")
return CreateSession(app, w, userId, remember)
}