is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 14 years ago

Closed 14 years ago

#388 closed bug (fixed)

jauth: No explicit error when after_login or after_logout aren't set

Reported by: laurentj Owned by:
Priority: normal Milestone: Jelix 1.0RC2
Component: jelix:auth Version: 1.0RC1
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:


If after_login or after_logout are empty in the configuration of the jauth plugin, the redirection is made to jauth~default:index which doesn't exists. So this causes an error

[error 100] Action default:index : le fichier contrôleur lib\/jelix-modules/jauth/controllers/default.classic.php n'existe pas  lib\jelix\core\jCoordinator.class.php 258

A better behavior is to generate an error when after_login or after_logout are empty.

Change History (1)

comment:1 Changed 14 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

An exception is now generated.

Note: See TracTickets for help on using tickets.