Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0f188909f | ||
|
|
0b78e9e70c | ||
|
|
ca797cd165 | ||
|
|
15d729c6ac | ||
|
|
af1d1dcd0c |
@@ -52,6 +52,7 @@ COPY --from=frontend-build /commento/frontend/build/prod/*.html /commento/
|
||||
COPY --from=frontend-build /commento/frontend/build/prod/css/*.css /commento/css/
|
||||
COPY --from=frontend-build /commento/frontend/build/prod/js/*.js /commento/js/
|
||||
COPY --from=frontend-build /commento/frontend/build/prod/images/* /commento/images/
|
||||
COPY --from=frontend-build /commento/frontend/build/prod/fonts/* /commento/fonts/
|
||||
COPY --from=templates-build /commento/templates/build/prod/templates/ /commento/templates/
|
||||
COPY --from=db-build /commento/db/build/prod/db/ /commento/db/
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package main
|
||||
|
||||
var version = "v1.6.0"
|
||||
var version = "v1.6.2"
|
||||
|
||||
@@ -18,8 +18,9 @@ func ownerResetPassword(resetHex string, password string) error {
|
||||
|
||||
statement := `
|
||||
UPDATE owners SET passwordHash=$1
|
||||
WHERE email IN (
|
||||
SELECT email FROM ownerResetHexes
|
||||
WHERE ownerHex = (
|
||||
SELECT ownerHex
|
||||
FROM ownerResetHexes
|
||||
WHERE resetHex=$2
|
||||
);
|
||||
`
|
||||
|
||||
0
db/20190218183556-v1.6.1.sql
Normal file
0
db/20190218183556-v1.6.1.sql
Normal file
2
db/20190219001130-v1.6.2.sql
Normal file
2
db/20190219001130-v1.6.2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE config
|
||||
SET version = 'v1.6.0';
|
||||
@@ -19,8 +19,6 @@ services:
|
||||
POSTGRES_DB: commento
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
ports:
|
||||
- 5432:5432
|
||||
networks:
|
||||
- db_network
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user