mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-02 10:57:57 +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) {
|
func (dbobj dbcon) checkUserAuthXToken(xtokenUUID string) (tokenAuthResult, error) {
|
||||||
var result tokenAuthResult
|
result := tokenAuthResult{}
|
||||||
if isValidUUID(xtokenUUID) == false {
|
if isValidUUID(xtokenUUID) == false {
|
||||||
return result, errors.New("failed to authenticate")
|
return result, errors.New("failed to authenticate")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user