Corregido error la crear cuentas de admin. La comprobación de correos
electornicos se realiza ahora en minusculas.
This commit is contained in:
1 parent
d9ddc20779
commit
db0bfeb41f
1 file changed
+1
-1
@@ -266,7 +266,7 @@ public class SystemAdminFacadeBean implements SystemAdminFacadeRemote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SystemAdminTO findAdminByEmail(String email) {
|
public SystemAdminTO findAdminByEmail(String email) {
|
||||||
TypedQuery<SystemAdminJPA> query = entman.createQuery("from SystemAdminJPA a where a.email=:email", SystemAdminJPA.class);
|
TypedQuery<SystemAdminJPA> query = entman.createQuery("from SystemAdminJPA a where LOWER(a.email)=LOWER(:email)", SystemAdminJPA.class);
|
||||||
query.setMaxResults(1);
|
query.setMaxResults(1);
|
||||||
query.setParameter("email", email);
|
query.setParameter("email", email);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user