* fix: failed to set password after changing username
When we add a new member to an organization using Casdoor, Casdoor will automatically generate a member with a random username, such as "user_qvducc". When we change the username, for example, to "yunshu", an issue arises where we are unable to successfully edit the password. This is because Casdoor searches for a user based on `owner/username`, and before any changes are saved, the username in the database remains "user_qvducc". However, the frontend uses `orgName/yunshu` instead of `orgName/user_qvducc` to send the request to change the password. As a result, the backend cannot find the user and the password change fails.
* Update user.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* fix: sendCasAuthenticationResponseErr when pgtUrlObj if not valid url
check pgtUrlObj.Scheme first will cause panic if url.Parse returns error.
* Update cas.go
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* feat: support year/month subscription
* feat: add GetPrice() for plan
* feat: add GetDuration
* feat: gofumpt
* feat: add subscription mode for pricing
* feat: restrict auto create product operation
* fix: format code
* feat: add period for plan,remove period from pricing
* feat: format code
* feat: remove space
* feat: remove period in signup page
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
* fix: cas login
* fix: cas login
* feat: rollback get-default-app change
* fix : move cas restrict logic to GetApplicationLogin()
* fix: format code
* fix: fix getOAuthGetParameters for cas
* fix: fix getOAuthGetParameters for cas
* fix: cas login