The same logic was duplicated in three places. Factor it out so that we can add further fallbacks in a single place.  | 
			||
|---|---|---|
| .. | ||
| user.go | ||
				
					
						
							The same logic was duplicated in three places. Factor it out so that we can add further fallbacks in a single place.  | 
			||
|---|---|---|
| .. | ||
| user.go | ||