Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined config & models when Initializing Auth #27

Open
puneetv05 opened this issue Jan 23, 2019 · 2 comments
Open

Undefined config & models when Initializing Auth #27

puneetv05 opened this issue Jan 23, 2019 · 2 comments

Comments

@puneetv05
Copy link

When using the example code from Readme

Auth = clean.New(&auth.Config{
		DB:        gormDB,
		Render:    config.View,
		Mailer:    config.Mailer,
		UserModel: models.User{},
	})

Where to get config & models from ?

@puneetv05
Copy link
Author

likewise, we can implement the model for user but I didn't find the options to use with config!!

@sergolius
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants