eladkal commented on issue #20449:
URL: https://github.com/apache/airflow/issues/20449#issuecomment-1027716255
I'm able to reproduce it with basic auth on 2.2.3:
In `/login` when clicking `Register`:
```
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in
wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in
full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in
handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39,
in reraise
raise value
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in
full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in
dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/views.py",
line 127, in this_form_get
self.form_get(form)
File
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/registerviews.py",
line 175, in form_get
self.add_form_unique_validations(form)
File
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/registerviews.py",
line 155, in add_form_unique_validations
datamodel_user = self.appbuilder.sm.get_user_datamodel
AttributeError: 'AirflowSecurityManager' object has no attribute
'get_user_datamodel'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]