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/css/*.css /commento/css/
|
||||||
COPY --from=frontend-build /commento/frontend/build/prod/js/*.js /commento/js/
|
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/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=templates-build /commento/templates/build/prod/templates/ /commento/templates/
|
||||||
COPY --from=db-build /commento/db/build/prod/db/ /commento/db/
|
COPY --from=db-build /commento/db/build/prod/db/ /commento/db/
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
var version = "v1.6.0"
|
var version = "v1.6.2"
|
||||||
|
|||||||
@@ -18,8 +18,9 @@ func ownerResetPassword(resetHex string, password string) error {
|
|||||||
|
|
||||||
statement := `
|
statement := `
|
||||||
UPDATE owners SET passwordHash=$1
|
UPDATE owners SET passwordHash=$1
|
||||||
WHERE email IN (
|
WHERE ownerHex = (
|
||||||
SELECT email FROM ownerResetHexes
|
SELECT ownerHex
|
||||||
|
FROM ownerResetHexes
|
||||||
WHERE resetHex=$2
|
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_DB: commento
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
networks:
|
networks:
|
||||||
- db_network
|
- db_network
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user