mino
This commit is contained in:
parent
7d0a920eb9
commit
256dca59b1
5 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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.',
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue