this is no longer working as expected: it is no longer allowing my users to enter old password FYI. i have no idea how i didnt notice until my first day of launch
Here is the code to do so, nothing to change in the code, just put it in the header.
To hide the button âupdate profileâ, just reduce the padding to 0 and the texte size of the button to 0.
<script>
document.addEventListener("DOMContentLoaded", function () {
var elements = document.querySelectorAll('.form-input-component-wrapper');
for (var i = 0; i < 2 && i < elements.length; i++) {
elements[i].classList.add('d-none');
}
});
</script>
Concerning the old password, impossible for me too, @Maria => users canât enter their old password anymore since 1 or 2 weeks (this is a bug, it has nothing to do with the custom code above, as I tested with and without it).
Visually, it works. Until you actually use it lol.
UX wise, I realized 2 major issues when observing onsite trying to complete the new account set up workflow:
Everything about this suggests they should be typing their old password at the top. 50% of them finally gave up, and correctly assumed they only needed to type their new password. The rest either said it was broken or (not ideal either) just typed their old password again no error message said anything about setting the same password twice
There is zero indication after clicking update. Like nothing happens. No popup. No âsaved successfullyâ. The 2nd field just reverts to blank. So everyone just sits there wondering if it workedâŚ
Re: #2, does anyone know if there is an event listener I can target to programmatically display a success message? I felt embarrassed when I realized how janky that account setup actually worked for users I was so proud initially! Lol!
My code is way simpler .
Mine just takes the first 2 elements that have a same class name, corresponding to a text input and hides it.
But if it works, it works!
Concerning your need to show something when updating a password =>
Hey @matthieu_chateau@danyalamriben, let me make sure I understand. Users are not able to log in with their passwords or it is not possible to change the old password to new one with User profile block?
it is possible. you just arenât being prompted to enter the old password. you cannot enter your old password. You can only type your new password. â All âsecurityâ concerns aside, I can try to just hide the old password field since seeing it just makes you think you need to be typing something in. Hiding it would resolve this.
And once you submit, nothing happens, other than the new password you typed being wiped out.
the only way I could confirm my new password was indeed saved, was by logging out and trying to log in with new password. I confirmed it worked. But my users were just staring at it and being very confused, since again, nothing visually suggests that it was successful
Love @matthieu_chateau 's success code, want to try it even though he says I wont have a chance to make it display LOL what if I want it badly enough, maybe the gods will hear my prayers?! jk haha but that would help.
@matthieu_chateau I noticed that you deleted the recording. Is it because something got changed(fixed) or you just decide to delete it? we are still trying to reproduce this case so that is why I am wondering. @danyalamriben in your case, are you logged in with magic link in the recording or with a password just like Matthieu? the reason why I am asking is because previously the old password field was active even If there was no password and the user logged in with magic link, now it is disabled because there is no point of having that field active If the user got registered and logged in with magic link.
Re: My video â logged in the normal way (email + password).
Initially wanted to explore magic link but for my purposes just made more sense to generate the account credentials via API so I can ensure the email & display name used is correct because people stink at spelling their own information i guessâŚ.
The api sends over the username, email, and temporary password automatically and when they log in the first time I want to âforceâ them however possible to ensure they are setting a real password before proceeding to the app
It [the fact that you canât type in the box for âold passwordâ] seems to be caused by whatever block updates were made to the user profile block. Matthieuâs block performed the same as my new âpassword onlyâ custom user profile block that was added quite recently.
As you probably could see, my old outdated user profile block did not behave that way, and in fact allowed me to type the old password before typing new password to update. it also displayed a âchangedâ confirmation animation when I clicked update â would love if this could also be restored in updated block!!
Nothing changed, my Loom workspace was just full, so I deleted this video as the process was quite simple => sign up with password then go to user profile.
You can find the bug behaviour back in the Dianaâs video.
The bug is not related to signin or signup.
I can see this bug since 2 weeks or so, from the last block update I would say, in all apps I worked in, if the block was updated.
@matthieu_chateau haha got it, no worries. @danyalamriben
Since we are still struggling to reproduce this issue, may I please, ask one of you to send me a screenshot from Users tab where the magic link section is also visible for the users that you experience such issue with (in case later on magic link is generated but not used, it might still matter) as well as a published link to an app.
all users experience this. It has nothing to do with the user only the version of the user profile block
users dont use the magic links at all, are you still saying you need screenshot? I can DM you aramayisâs magic link if needed. the page in question is https://centricitycentral.softr.app/new-account-activation but you will need to be signed in so you can access
Hi Maria just checking for any updates?? This is the message Iâm still sending to new staff LOL
the password block has a glitch at the moment and itâs driving me nuts:
you dont enter your temporary password after signing in
you will only enter your new password to set permanent password. Once you click update⌠so obnoxious but itâll literally just wipe out what you typed and nothing looks different⌠HAHA SURPRISE THAT MEANS IT WORKED hahaha
you can click the next button in bottom left to move on after !