This commit is contained in:
lesion 2022-10-31 17:04:31 +01:00
parent 7d0a920eb9
commit 256dca59b1
No known key found for this signature in database
GPG key ID: 352918250B012177
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
- new plugin system
- new "publish on telegram" plugin: thanks
- new "publish on telegram" plugin: thanks @fadelkon
- i18n refactoring
- people can now choose the language displayed - fix #171
- fix place "[Object]" issue - #194
- admin could choose a custom fallback image - fix #195
### 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)
- :email: Email ⇒ [info@cisti.org](mailto:info@cisti.org)
- 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/)
- [lubakiagenda.net](https://lubakiagenda.net/)
- [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>

View file

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

View file

@ -87,7 +87,7 @@ const oauthController = {
*/
async getClient (client_id, client_secret) {
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
}