Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Cloudron 7.0.3 does not set password on the invite page

    Support
    usermanagement
    2
    9
    400
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vladimir.d
      vladimir.d last edited by girish

      After upgrade to 7.0.3 the invite page doesn't seem to set password for new users.
      It successfully submits data, but the respective DB record isn't updated.

      girish 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @vladimir.d last edited by

        @vladimir-d you mean the invite link that is sent by email is not able to set the password of the user? I just tried now and it does seem to work for me. What I did was Users -> Add user -> got an email -> clicked on email -> set password. I logged out and logged in again and the password was indeed set.

        Which browser/OS are you using?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @vladimir.d last edited by

          @vladimir-d Also, can you check if you are authenticate as any user? Meaning logout and login again, does it work?

          1 Reply Last reply Reply Quote 0
          • vladimir.d
            vladimir.d last edited by vladimir.d

            I mean as admin I get the invite link on the invite user popup, copy it and open in another browser to set a password. It submits the data without errors (in the web console we see they successfully posted to cloudron), we enter exactly the same password to login, but it fails to login. The user password and salt fields are left unchanged in the cloudron database.
            I tried it in Safari and Chrome on Monterey.
            I have no issues to logout and login with my user. Also if I update the password and salt directly in the database, the user is able to login.

            I believe you still have SSH access to our host if you'd like to investigate it.

            Screenshot 2021-11-16 at 21.57.37.png

            Screenshot 2021-11-16 at 21.55.25.png

            Screenshot 2021-11-16 at 22.02.31.png

            Screenshot 2021-11-16 at 22.02.42.png

            Screenshot 2021-11-16 at 22.02.07.png

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @vladimir.d last edited by

              @vladimir-d mm, this does work for me. Could it be some auto-fill interfering?

              Also, maybe can you check if you can reproduce this on the demo cloudron - https://my.demo.cloudron.io (username and password is 'cloudron') ?

              vladimir.d 1 Reply Last reply Reply Quote 0
              • vladimir.d
                vladimir.d @girish last edited by

                @girish I'm not able to reproduce the issue on the demo, it works on the demo as expected.
                Ok, will debug further what happens on our instance.

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @vladimir.d last edited by

                  @vladimir-d if you can't figure out, drop us a mail to support@cloudron.io, we can check what is hapenning. Do you see anything in your logs btw - /home/yellowtent/platformdata/logs/box.log ?

                  vladimir.d 1 Reply Last reply Reply Quote 0
                  • vladimir.d
                    vladimir.d @girish last edited by

                    @girish nothing in /home/yellowtent/platformdata/logs/box.log, will email to the mailbox now.

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by

                      This was a regression in 7.0. When user profiles are locked, the password is not reset properly. This is fixed in next release. Workaround for now is to disable locking of user profile. Alternately, you need this change - https://git.cloudron.io/cloudron/box/-/commit/37f066f2b0e4aa50ec45b387dd1d79b539d1aaf5

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB