This commit is contained in:
lesion
2022-10-31 17:04:31 +01:00
parent 7d0a920eb9
commit 256dca59b1
5 changed files with 7 additions and 3 deletions

View File

@@ -2,10 +2,11 @@ All notable changes to this project will be documented in this file.
### UNRELEASED ### UNRELEASED
- new plugin system - new plugin system
- new "publish on telegram" plugin: thanks - new "publish on telegram" plugin: thanks @fadelkon
- i18n refactoring - i18n refactoring
- people can now choose the language displayed - fix #171 - people can now choose the language displayed - fix #171
- fix place "[Object]" issue - #194 - fix place "[Object]" issue - #194
- admin could choose a custom fallback image - fix #195
### 1.5.6 - 22 set '22 ### 1.5.6 - 22 set '22

View File

@@ -11,4 +11,5 @@ nav_order: 9
- :elephant: Mastodon ⇒ [@gancio@mastodon.cisti.org](https://mastodon.cisti.org/@gancio) - :elephant: Mastodon ⇒ [@gancio@mastodon.cisti.org](https://mastodon.cisti.org/@gancio)
- :email: Email ⇒ [info@cisti.org](mailto:info@cisti.org) - :email: Email ⇒ [info@cisti.org](mailto:info@cisti.org)
- IRC ⇒ #gancio @ irc.autistici.org (sometimes...) - IRC ⇒ #gancio @ irc.autistici.org (sometimes...)
- Issues ⇒ https://framagit.org/les/gancio/-/issues

View File

@@ -19,7 +19,7 @@ nav_order: 7
- [agenda.eskoria.eus](https://agenda.eskoria.eus/) - [agenda.eskoria.eus](https://agenda.eskoria.eus/)
- [lubakiagenda.net](https://lubakiagenda.net/) - [lubakiagenda.net](https://lubakiagenda.net/)
- [eventos.coletivos.org](https://eventos.coletivos.org/) - [eventos.coletivos.org](https://eventos.coletivos.org/)
- [calendario.extinctionrebellion.es](https://calendario.extinctionrebellion.es/)
<small>Do you want your instance to appear here? [Write us]({% link contact.md %}).</small> <small>Do you want your instance to appear here? [Write us]({% link contact.md %}).</small>

View File

@@ -105,6 +105,8 @@ module.exports = {
prefix: '/api' prefix: '/api'
}, },
auth: { auth: {
rewriteRedirects: true,
fullPathRedirect: true,
// localStorage: false, // https://github.com/nuxt-community/auth-module/issues/425 // localStorage: false, // https://github.com/nuxt-community/auth-module/issues/425
cookie: { cookie: {
prefix: 'auth.', prefix: 'auth.',

View File

@@ -87,7 +87,7 @@ const oauthController = {
*/ */
async getClient (client_id, client_secret) { async getClient (client_id, client_secret) {
const client = await OAuthClient.findByPk(client_id, { raw: true }) const client = await OAuthClient.findByPk(client_id, { raw: true })
if (client_secret && client_secret !== client.client_secret) { if (!client || (client_secret && client_secret !== client.client_secret)) {
return false return false
} }