- set social login credentials

- disallow registration refactoring
This commit is contained in:
Čarodej
2022-01-11 13:22:25 +01:00
parent 62cbcd14ed
commit 1c188081b3
23 changed files with 891 additions and 148 deletions

View File

@@ -352,6 +352,14 @@ const FunctionHelpers = {
}[driver] || this.$getImage(store.getters.config.app_logo_horizontal)
}
Vue.prototype.$getSocialLogo = function (driver) {
return {
'google': '/assets/socials/google.svg',
'facebook': '/assets/socials/facebook.svg',
'github': store.getters.isDarkMode ? '/assets/socials/github-dark.svg' : '/assets/socials/github.svg',
}[driver]
}
Vue.prototype.$getSubscriptionStatusColor = function (status) {
return {