mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Remove obsolete change of email on profile page (#13341)
* Remove obsolete change of email on profile page The change email on the account profile page is out-of-date and unnecessary. Changing email should be done using the account page. Fix #13336 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -37,6 +37,13 @@ func (doc *HTMLDoc) GetInputValueByName(name string) string {
 | 
			
		||||
	return text
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Find gets the descendants of each element in the current set of
 | 
			
		||||
// matched elements, filtered by a selector. It returns a new Selection
 | 
			
		||||
// object containing these matched elements.
 | 
			
		||||
func (doc *HTMLDoc) Find(selector string) *goquery.Selection {
 | 
			
		||||
	return doc.doc.Find(selector)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GetCSRF for get CSRC token value from input
 | 
			
		||||
func (doc *HTMLDoc) GetCSRF() string {
 | 
			
		||||
	return doc.GetInputValueByName("_csrf")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user