I have experimented with member handling for a long time without getting it to work. I am really amazed how difficult this is in Umbraco!
Everyone needs basically the same member handling to: register, login, logout, change email/username, change password, reset forgotten password. To do that in Umbraco in my view takes too much effort. It should be possible to scaffold a basic setup that can then be adjusted!
The main problem though is that a lot of the functionality provided does NOT work! Can it be that a lot of this functionality has changed between versions and now is not consistent anymore? Should I use MemberService, MemberHelper, Members object, or maybe fallback to plain FormsAuthentication? Different examples tell my different things and so far I have not been able to setup a complete working flow.
-
To make MemberService.SavePassword to work you need to change a setting in web.config: allowManuallyChangingPassword=“true”. It took me a lot of Googling to find out and now the handling is less secure. I want to create a member with initial password without compromising security settings.
-
When I do a simple login with the method recommended (in the Umbraco.TV guides on membership that I tried to follow in detail) it just crashes with an obscure message. I run Members.Login and I can assure you that entered username and passwords are OK. This is my Exception:
System.FormatException: 'The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. ’
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/93676-memberslogin-not-working