Giter Club home page Giter Club logo

Comments (4)

mmtaee avatar mmtaee commented on June 11, 2024 1

Hi,
Panel only support Google recaptcha v2 with params :
captcha_site_key
captcha_secret_key

you should reset configurations

  • docker
    delete db in volume dir and restart compose

  • systemd

rm -rf /var/www/site/back-end/db

/var/www/site/back-end/venv/bin/python /var/www/site/back-end/manage.py migrate

systemctl restart backend.service

systemctl restart user_stats.service

from ocserv-users-management.

MahdiKashani94 avatar MahdiKashani94 commented on June 11, 2024

Thanks for your quick reply @mmtaee
I've changed the google reCAPTCHA to v2, but the problem still exists.

besides, as I said before, I've installed the panel to use it with my pre-installed and configured ocserv. Is there any way to import the existing groups and users to the panel? I'm aware of the ocpasswd sync button in the users section but it also changes the user's password which is a bug I assume. plus I think exposing the user's passwords is a security mistake.

I hope my feedback helps :)

from ocserv-users-management.

mmtaee avatar mmtaee commented on June 11, 2024

Thanks for your feedback

Is there any way to import the existing groups and users to the panel?

With the sync button you can pull your users into the panel with an unknown password (the password is already hashed by ocserv), but if you have groups that were not created by the panel, it will cause problems because when the button is pressed, it will try get users from the ospasswd file. When the user with the group does not exist in the database, it tries to create the user with group name defaults. sync-group can be a good idea for that.

The sync button does not change the password in the "ocpasswd" file. Stores user with password "ocserv password" in the database. User with password "password ocserv" tells you that this user was created by ocserv and not by panel.

The password display is only displayed in the panel for user management. The hash is stored in the ocpasswd file.

from ocserv-users-management.

mmtaee avatar mmtaee commented on June 11, 2024

Captcha challenge failed fixed with commit: [536e85f]

from ocserv-users-management.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.