mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 14:02:05 +08:00
renamed register route to signup
This commit is contained in:
@ -45,9 +45,9 @@ func Register(m *macaron.Macaron) {
|
||||
// data source proxy
|
||||
m.Any("/api/datasources/proxy/:id/*", auth, ProxyDataSourceRequest)
|
||||
|
||||
// user register
|
||||
m.Get("/register", Index)
|
||||
m.Post("/api/account", CreateAccount)
|
||||
// User sign up
|
||||
m.Get("/signup", Index)
|
||||
m.Post("/api/account/signup", SignUp)
|
||||
|
||||
// dashboards
|
||||
m.Get("/dashboard/*", auth, Index)
|
||||
|
Reference in New Issue
Block a user