Comments (12)
@SoftCreatR you have a typo, it's umami not unami
from umami.
Same problem here
from umami.
I'm actually confused, the code here that created password seems to not use the SALT at all:
https://github.com/mikecao/umami/blob/b392a51676fc314df7b338bf790c8af8fc64fd6c/lib/crypto.js#L28
it just pass salt rounds, let bcrypt use a random SALT.
maybe I miss something here so I'll wait for the author (:
from umami.
The password function does not consider the HASH_SALT in your .env file. It chooses a random salt. Can you try updating the password in the database to another value and see if that works?
from umami.
Yes.
I manually generated a pass using bcrypt.hash()
and set it on the database.
This allowed me to connect.
from umami.
i execute the following sql and it works
insert into account (username, password, is_admin) values ('admin', '$2b$10$BUli0c.muyCW1ErNJc3jL.vFRFtFJWrT8/GcR4A.sUdCznaXiqFXa', true);
found in the last line of schema.mysql.sql
from umami.
Latest push updated the hashes in the sql files just in case, though the original ones should have worked.
from umami.
I'm still unable to login, even with a self generated hash.
from umami.
@SoftCreatR can you try pulling the latest version? It was incorrectly reporting invalid login/password when it could be due to some other issue.
from umami.
Nope, no success.
from umami.
Oh god... 😸
from umami.
Seems like issues are resolved. Closing this.
from umami.
Related Issues (20)
- Add the possibility to share a website analytics on a personal account, to a team HOT 1
- Filter by url | query string | country | etc doesn't work for site details
- Clicking on team website from dashboard changes team HOT 1
- admin user shows role as unknown HOT 1
- Website endpoint returns 500 after upgrading to 2.10.2 HOT 3
- Argument `websiteId` is missing. HOT 1
- No query parameters captured HOT 2
- api for real-time online counts & api for the current page HOT 2
- Add `splitted_url_query` and `splitted_referrer_query` for better UTM/Query Params filtering HOT 2
- missing formal parameter HOT 5
- crypto is leaking into the frontend, causing 100kb of useless js
- completely redundant large dependency HOT 4
- No region and cities are showing HOT 2
- Inconsistent query result: Field user is required to return data, got `null` instead HOT 2
- world map HOT 1
- Search is broken HOT 1
- report's query is not working HOT 1
- This issue still exists in v2.10.2. url encode special characters
- Dashboard: undefined is not an object (evaluating 'D.find(t=>t.value===e).label') HOT 1
- translations: regression with `tracking code` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umami.