Hi list,
A
I'm experiencing a Too many redirects error in a webapp built with Iliad.
The error occurs upon logging in, I've always used the same procedure for handling users and this is the first time this happens, so I'm not sure what's wrong... here's my code:
MILoginPage >> tryToLogin: aMockUser
(MUser existsWithUsername: aMockUser username)
ifFalse: [ self error: self controller userNotFoundText ]
user := MUser findByUsername: aMockUser username.
user password = aMockUser password md5Hashed
ifFalse: [ self error: self controller wrongPasswordText ]
ifTrue: [ self session login: user ] ]
Then, MISession >> #login: looks as follows:
MISession >> login: aUser
Any idea what's wrong with my code?
Thanks!
Bernat.
--
Bernat Romagosa.
--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/groups/opt_out.