chore(auth): add oidc suffix to openid team name in db
Related to https://kolaente.dev/vikunja/vikunja/issues/2150
This commit is contained in:
parent
4f1f96f1e9
commit
fc4303a778
@ -22,7 +22,7 @@
|
||||
>
|
||||
<router-link :to="{name: 'teams.edit', params: {id: t.id}}">
|
||||
<p>
|
||||
{{ t.name + (t.oidcId ? ` (sso: ${t.oidcId})`: '') }}
|
||||
{{ t.name }}
|
||||
</p>
|
||||
</router-link>
|
||||
</li>
|
||||
|
@ -331,7 +331,7 @@ func getTeamDataFromToken(groups []map[string]interface{}, provider *Provider) (
|
||||
|
||||
func CreateOIDCTeam(s *xorm.Session, teamData *models.OIDCTeam, u *user.User) (team *models.Team, err error) {
|
||||
team = &models.Team{
|
||||
Name: teamData.TeamName,
|
||||
Name: teamData.Name + "(OIDC)",
|
||||
Description: teamData.Description,
|
||||
OidcID: teamData.OidcID,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user