Migrations: Signup page (#21514)

* Start Angular migration

* Add SignupCtrl

* Change name signup

* Add backend call

* Put form in separate file

* Add form model

* Start using react-hook-forms

* Add FormModel to state

* Reduxify

* Connect nav with Redux

* Fix routing and navModel

* Fetch state options on mount

* Add default values and add button margin

* Add errror messages

* Fix title

* Remove files and cleanup

* Add Signup tests

* Add boot config assingnAutoOrg and verifyEmailEnabled

* Remove onmount call

* Remove ctrl and move everything to SignupForm

* Make routeParams optional for testing

* Remove name if it is empty

* Set username

* Make function component

* Fix subpath issues and add link button

* Move redux to SignupPage
This commit is contained in:
Tobias Skarhed
2020-02-17 11:13:13 +01:00
committed by GitHub
parent 029a6c64b4
commit 0c4dae321c
10 changed files with 206 additions and 49 deletions
+2
View File
@@ -49,6 +49,8 @@ export class GrafanaBootConfig {
exploreEnabled = false;
ldapEnabled = false;
samlEnabled = false;
autoAssignOrg = true;
verifyEmailEnabled = false;
oauth: any;
disableUserSignUp = false;
loginHint: any;