17 lines
542 B
Go
17 lines
542 B
Go
package api
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"net/http"
|
||
|
|
)
|
||
|
|
|
||
|
|
// Public self-service password recovery is disabled for students.
|
||
|
|
// Staff reset passwords from the admin panel (requires the account security answer).
|
||
|
|
|
||
|
|
func (s *Server) handleRecoveryChallenge(w http.ResponseWriter, r *http.Request) {
|
||
|
|
writeErr(w, http.StatusNotFound, "بازیابی رمز عمومی غیرفعال است")
|
||
|
|
}
|
||
|
|
|
||
|
|
func (s *Server) handleRecoveryReset(w http.ResponseWriter, r *http.Request) {
|
||
|
|
writeErr(w, http.StatusNotFound, "بازیابی رمز عمومی غیرفعال است")
|
||
|
|
}
|