2026-10-07 19:40:26 +03:30
|
|
|
package api
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"net/http"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Public self-service password recovery is disabled for students.
|
2026-10-09 19:05:59 +03:30
|
|
|
// Staff set a new password from the admin profile. Public recovery stays off.
|
2026-10-07 19:40:26 +03:30
|
|
|
|
|
|
|
|
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, "بازیابی رمز عمومی غیرفعال است")
|
|
|
|
|
}
|