Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inital Username and Password #1930

Open
bert3ch opened this issue Sep 18, 2024 · 1 comment
Open

Inital Username and Password #1930

bert3ch opened this issue Sep 18, 2024 · 1 comment

Comments

@bert3ch
Copy link

bert3ch commented Sep 18, 2024

Hello everyone,

I'm facing an issue while setting up Stirling PDF with initial login credentials. There are two ways to run Stirling PDF:

Running as a service: In the /opt/Stirling-PDF/configs/settings.yml file, I’ve set enableLogin: true and added the initial username as test and password as test123. However, when I try to log in, it only accepts admin-stirling and doesn't recognize the initial username and password I configured.

Running manually: When I place the same configuration in the .git directory and run Stirling manually, it correctly accepts the initial username and password as test and test123.

Has anyone encountered this issue where the initial credentials don’t work when running Stirling as a service? How can I solve this problem and ensure that the correct username and password are accepted when running it as a service?

Thanks in advance for any suggestions!

@Frooodle
Copy link
Member

If you have ran the application once before using the default login it provides a default login for you

The initial user is just that, the initial user, and since app was ran once before these were configured it created that initial user for you

You should be able to resolve this multiple ways

Delete the database file in configs folder and restart app

Or just change the existing default accounts username and password via settings menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants