mirror of
https://github.com/miniflux/v2.git
synced 2025-10-05 19:31:01 +00:00
Remove extra column from users table (HSTORE field)
Migrated key/value pairs to specific columns.
This commit is contained in:
parent
ae74f94655
commit
83f3ccab0e
19 changed files with 256 additions and 141 deletions
|
@ -66,7 +66,7 @@
|
|||
|
||||
{{ if hasOAuth2Provider "google" }}
|
||||
<div class="panel">
|
||||
{{ if hasKey .user.Extra "google_id" }}
|
||||
{{ if .user.GoogleID }}
|
||||
<a href="{{ route "oauth2Unlink" "provider" "google" }}">{{ t "page.settings.unlink_google_account" }}</a>
|
||||
{{ else }}
|
||||
<a href="{{ route "oauth2Redirect" "provider" "google" }}">{{ t "page.settings.link_google_account" }}</a>
|
||||
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
{{ else if hasOAuth2Provider "oidc" }}
|
||||
<div class="panel">
|
||||
{{ if hasKey .user.Extra "oidc_id" }}
|
||||
{{ if .user.OpenIDConnectID }}
|
||||
<a href="{{ route "oauth2Unlink" "provider" "oidc" }}">{{ t "page.settings.unlink_oidc_account" }}</a>
|
||||
{{ else }}
|
||||
<a href="{{ route "oauth2Redirect" "provider" "oidc" }}">{{ t "page.settings.link_oidc_account" }}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue