mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 18:38:06 +00:00
fix bug
This commit is contained in:
@@ -97,7 +97,7 @@ func (dbobj dbcon) checkXtoken(xtokenUUID string) bool {
|
||||
}
|
||||
|
||||
func (dbobj dbcon) checkUserAuthXToken(xtokenUUID string) (tokenAuthResult, error) {
|
||||
var result tokenAuthResult
|
||||
result := tokenAuthResult{}
|
||||
if isValidUUID(xtokenUUID) == false {
|
||||
return result, errors.New("failed to authenticate")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user