From ff231eb1b90cb13141924c25a2b92cf53fe09337 Mon Sep 17 00:00:00 2001 From: Sachin Puranik Date: Thu, 5 Mar 2020 20:06:26 +0530 Subject: [PATCH] Correction in AuthIdentity model name , as the following select fails --- providers/password/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/password/handlers.go b/providers/password/handlers.go index a74ceb7..2a89fec 100644 --- a/providers/password/handlers.go +++ b/providers/password/handlers.go @@ -14,7 +14,7 @@ import ( // DefaultAuthorizeHandler default authorize handler var DefaultAuthorizeHandler = func(context *auth.Context) (*claims.Claims, error) { var ( - authInfo auth_identity.Basic + authInfo auth_identity.AuthIdentity req = context.Request tx = context.Auth.GetDB(req) provider, _ = context.Provider.(*Provider)