Modifications pour le document Identifiant oublié ?
Modifié par superadmin le 13/10/2019, 16:35
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-administration-ui/11.8.1]
Résumé
Détails
- Propriétés de la Page
-
- Auteur du document
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.r oot1 +XWiki.superadmin - Contenu
-
... ... @@ -10,7 +10,7 @@ 10 10 {{/html}} 11 11 12 12 #else 13 - #set($query = $services.query.hql(", BaseObject obj, StringProperty prop where obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and prop.id.id = obj.id and prop.id.name = 'email' and LOWER(prop.value) = ?").bindValues([$email.toLowerCase()]))13 + #set($query = $services.query.hql(", BaseObject obj, StringProperty prop where obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and prop.id.id = obj.id and prop.id.name = 'email' and LOWER(prop.value) = :email").bindValue('email', $email.toLowerCase())) 14 14 #set($results = $query.execute()) 15 15 ## If local user does not exist check global user 16 16 #if($results.size() == 0 && ${xcontext.database} != ${xcontext.mainWikiName})