mino
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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.',
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user